<MDXHeader
  title="Date Picker"
  description="A date picker component with range and presets."
  docs="https://ark-ui.com/solid/docs/components/date-picker"
/>

<ComponentPreview name="date-picker-demo" />

## About

The Date Picker component is currently built using [Ark UI](https://ark-ui.com/).

## Installation

<Tabs defaultValue="cli">

<TabsList>
  <TabsTrigger value="cli">CLI</TabsTrigger>
  <TabsTrigger value="manual">Manual</TabsTrigger>
</TabsList>

<TabsContent value="cli">

```bash
npx solidui-cli@latest add date-picker
```

</TabsContent>

<TabsContent value="manual">
<Steps>

<Step>Install the following dependencies: </Step>

```bash
npm install @ark-ui/solid
```

<Step>Copy and paste the following code into your project: </Step>

<ComponentSource name="date-picker" />

</Steps>
</TabsContent>

</Tabs>

## Examples

### Date Range Picker

<ComponentPreview name="date-range-demo" />

### Calendar

<ComponentPreview name="calendar-demo" />
